package com.asia5b.a5mall.goods.adapter

import android.widget.ImageView
import com.asia5b.a5mall.middleware.utils.WImageLoader
import com.asia5b.a5mall.goods.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * Created by zhangyuncai on 2020/1/21.
 */
class GoodsCommensItemAdapter(list:ArrayList<String>):
BaseQuickAdapter<String,BaseViewHolder>(R.layout.item_commens_img,list){
    override fun convert(helper: BaseViewHolder, item: String) {
        val iv_commens_img=helper.getView<ImageView>(R.id.iv_commens_img)
        WImageLoader.displayRoundImage(item,iv_commens_img,5)
    }
}